Extension point bundles
In component org.nuxeo.ecm.platform.WebResources
Documentation
The resourceBundles extension point allows to group resources by name.
Example:
<bundle name="myapp">
<resources>
<resource>jquery.js</resource>
<resource>foldable-box.js</resource>
<resource>foldable-box.css</resource>
</resources>
</bundle>
Bundles support override and merging logics: another module can contribute to the same bundle:
<bundle name="myapp">
<resources append="true">
<resource>my.css</resource>
</resources>
</bundle>
If the attribute append is not set, or set to false, resources will be overridden.
Pages and page elements should refer to resource bundle to allow pluggability.
Contribution Descriptors
- Class: org.nuxeo.ecm.web.resources.core.ResourceBundleDescriptor